<%@page isELIgnored="false" import="java.net.*" %>
<%@taglib prefix="tiles" uri="struts-tiles" %>
<%@taglib prefix="c" uri="jstl" %>
<%@taglib prefix="fn" uri="jstl-fn" %>
<c:set var="Alerts" value="${UserLogin.allNotReadedAlerts}" />
					<div id="bodyContent">
						<h1>Alertas urgentes (${fn:length(Alerts)})</h1>
<c:choose>
	<c:when test="${fn:length(Alerts) eq 0}">
						No hay alertas.
	</c:when>
	<c:otherwise>
						<table class="tabDatos">
							<thead>
								<tr>
									<th>Nombre</th>
									<th>Descripci&oacute;n</th>
									<th>Texto</th>
									<th>Fecha l&iacute;mite</th>
									<th>Acci&oacute;n</th>
								</tr>
							</thead>
<c:forEach items="${Alerts}" var="alert" >
							<tr>
								<td>
									${alert.tblAlerta.nombre}
								</td>
								<td>
									${alert.tblAlerta.descripcion}
								</td>
								<td>
									${alert.tblAlerta.texto}
								</td>
								<td>
									${alert.fechaLimite}
								</td>
								<td>
									<select>
										<option>tomar una acci&oacute;n</option>
									</select>
								</td>
							</tr>
</c:forEach>
							<tr>
								<td>
									Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam imperdiet sodales fringilla.
									Praesent eu orci sed elit bibendum interdum ac posuere metus.
								</td>
								<td>
									Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam imperdiet sodales fringilla.
									Praesent eu orci sed elit bibendum interdum ac posuere metus.
								</td>
								<td>
									Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam imperdiet sodales fringilla.
									Praesent eu orci sed elit bibendum interdum ac posuere metus.
								</td>
								<td>25/10/2010</td>
								<td>
									<select>
										<option>tomar una acci&oacute;n</option>
									</select>
								</td>
							</tr>
						</table>
	</c:otherwise>
</c:choose>
					</div>
					<div id="footContent"></div>
				</div>
